package com.cwj.vm;

/**
 * @author: Chenwujie
 * @date: 2021-03-19 14:25
 */
public class PoolTest {
    public static void main(String[] args) {
        String s1 = "abc1";
        String s2 = "abc2";
        String s12 = "abc1" + "abc2";
        String s3 = "abc1abc2";
        String s4 = new String("abc1") + "abc2";
        System.out.println(s12 == s3);
        System.out.println(s3 == s4);
        String hello = "hello";
        String lo = "lo";
    }
}
